package com.hu.bgp.client.widgets.uicomponents;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import com.hu.bgp.shared.data.ClientGameType;

public class GameTypeTableUser extends SelectionTable<ClientGameType>
{
	public GameTypeTableUser()
	{
	}

	public Label[] createHeader()
	{
		return new Label[]
		{
			new Label("Game types!"), new Label("Description!")
		};
	}

	public Widget[] createRow(ClientGameType gameType)
	{
		return new Widget[]
		{
			new Label(gameType.getDisplayName()), new Label(gameType.getDescription())
		};
	}
}
